package com.neu.api.mapper;

import com.github.pagehelper.Page;
import com.neu.api.pojo.Book;
import com.neu.api.pojo.Food;
import com.neu.api.query.BookQuery;
import com.neu.api.query.FoodQuery;
import com.neu.api.vo.BookListVO;
import com.neu.api.vo.BookVO;
import com.neu.api.vo.FoodVO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

@Mapper
public interface BookMapper {

    List<BookListVO> find(BookQuery bookQuery);


    void update(Book book);

    BookVO findByNum(String num);
}